package com.borrowed.book.system.domain;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class TableDataInfo {
    @ApiModelProperty(value = "返回状态码", dataType = "int", example = "200")
    private Integer code;
    @ApiModelProperty(value = "返回message 信息",dataType = "string")
    private String  msg;
    @ApiModelProperty(value = "数据条数", dataType = "int", example = "20")
    private Long count;

    @ApiModelProperty(value = "数据集合", dataType = "list")
    private List<?>  data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }
}
